package com.zrwl.poscloud.xo.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.StudentScoreSubjectDetail;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.StudentScoreSubjectDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 成绩明细 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-10
 */
public interface StudentScoreSubjectDetailMapper extends SuperMapper<StudentScoreSubjectDetail> {
    IPage<StudentScoreSubjectDetailVO> getPageList(@Param("page") Page page, @Param("param") StudentScoreSubjectDetailVO studentScoreSubjectDetailVO);
    StudentScoreSubjectDetailVO getResult( @Param("param") StudentScoreSubjectDetailVO studentScoreSubjectDetailVO);

    List<StudentScoreSubjectDetail> generateRank(@Param("param") StudentScoreSubjectDetailVO studentScoreSubjectDetailVO);

    List<StudentScoreSubjectDetailVO> getStudentScoreInfoList(@Param("param") StudentScoreSubjectDetailVO studentScoreSubjectDetailVO, String dictType);
}
